home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1315 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: CHIP and GCC
  5. Date: 17 Jan 1996 19:01:17 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4djh1t$41n@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4cgvd5$aa2@serveur.cribx1.u-bordeaux.fr>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle5.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <4cgvd5$aa2@serveur.cribx1.u-bordeaux.fr>, skoruppa@athena.ceremab.u-bordeaux.fr (Nils Skoruppa) writes:
  15. |> Organization: ceremab
  16. |> Lines: 9
  17. |> Distribution: world
  18. |> Message-ID: <4cgvd5$aa2@serveur.cribx1.u-bordeaux.fr>
  19. |> Reply-To: skoruppa@athena.ceremab.u-bordeaux.fr (Nils Skoruppa)
  20. |> NNTP-Posting-Host: athena.math.u-bordeaux.fr
  21. |> 
  22. |> It seems that the keyword CHIP (or similar) is not
  23. |> yet implemented in GNUC 2.7 for the Amiga.
  24. |> Could someone suggest
  25. |> a reasonable work around (reasonable = not having to
  26. |> change completely and clumbsily programs which freely
  27. |> make use of __chip__ ...).
  28. |> ---NP. Skoruppa
  29. |> 
  30. |> 
  31.  
  32. The only data that can cause this problem is compiled picture or wavedata.
  33. Or copperlists. If it is large (over some kb), I'd not compile it anyway.
  34.  
  35. Just allocmem() some chipmem and copy the data there.
  36.  
  37. I don't know what the -D__chip__ advie will cause, but it would be a 
  38. real pitty if all your code would be load to chipmem by default! 
  39. causes factor 2 speed loss on A1200 when loop is larger than 256 bytes,
  40. and prepare for factor 4 or worse on turbos!
  41.  
  42. Also chipmem is something you max got 2mb of, don't waste it.
  43.  
  44.  
  45. ah, I see my re: is no real help for you problem :\ as you are
  46. to recompile a ready program ? mhm.... better a slow program in
  47. chipmem than a crashing one...
  48.  
  49. ------------------------------------------------------------------------
  50.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  51.